package com.mayikt.service;

import com.mayikt.service.manage.OrderManage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 余胜军
 * @ClassName OrderService
 * @qq 644064779
 * @addres www.mayikt.com
 * 微信:yushengjun644
 */
@RestController
@Slf4j
public class OrderService {
    @Autowired
    private OrderManage orderManage;

    /**
     * http://127.0.0.1:8080/addOrder
     * @return
     */
    @RequestMapping("/addOrder")
    public String addOrder() {
        log.info("<1>");
        orderManage.asyncLog();
        log.info("<3>");
        return "3";
    }
}
